"""add_fwr_column_to_trades_table

Revision ID: ac2c3dec62c3
Revises: 03477dae3b69
Create Date: 2025-07-02 14:47:40.799126

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'ac2c3dec62c3'
down_revision: Union[str, None] = '03477dae3b69'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    """Upgrade schema."""
    # Add fwr column to trades table
    op.add_column('trades', sa.Column('fwr', sa.Float(), nullable=True))


def downgrade() -> None:
    """Downgrade schema."""
    # Remove fwr column from trades table
    op.drop_column('trades', 'fwr')
